/*
 * @Author: benchenchuang benchenchuang
 * @Date: 2023-06-01 19:22:34
 * @LastEditors: benchenchuang benchenchuang
 * @LastEditTime: 2023-10-17 19:20:17
 * @FilePath: /hmp-web/src/views/staff/labour/columns.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const columns = [
    {
        title: '人脸',
        dataIndex: 'imageUrl',
        scopedSlots: { customRender: 'imageUrl' },
        width:80,
    },
    {
        title: '姓名',
        dataIndex: 'name',
        width:100,
    },
    {
        title: '人员编码',
        dataIndex: 'code',
        width: 80,
    },
    {
        title: '性别',
        dataIndex: 'sex',
        width: 60
    },
    {
        title: '身份证号',
        // dataIndex: 'idNumber',
        scopedSlots: { customRender: 'idNumber' },
        width:170,
    },
    {
        title: '年龄',
        scopedSlots: { customRender: 'age' },
        width:60,
    },
    {
        title: '所属组织',
        dataIndex: 'deptId',
        scopedSlots: { customRender: 'deptId' },
    },
    {
        title: '工种',
        // dataIndex: 'projectType',
        scopedSlots: { customRender: 'workType' },
        // width:60,
    },
    {
        title: '评级',
        scopedSlots: { customRender: 'level' },
        width:60,
    },
    {
        title: '是否投保',
        scopedSlots: { customRender: 'insureStatus' },
        width:80,
    },
    {
        title: '入职时间',
        dataIndex: 'entryTime',
        width:100,
    },
    {
        title: '更新时间',
        dataIndex: 'updateTime',
        width:160,
    },
    {
        title: '备注',
        dataIndex: 'comments',
    },
    {
        title: '状态',
        scopedSlots: { customRender: 'status' },
        width:80,
        fixed:'right'
    },
    {
        title: '操作',
        scopedSlots: { customRender: 'action' },
        width: 180,
        fixed:'right'
    }
]

